﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="rptPelatihanList.aspx.cs" Inherits="Training.Web.Reports.rptPelatihanList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="body" runat="Server">
<script language="javascript" type="text/javascript">
    $(document).ready(function () {

        $('#<%= ddlCabang.ClientID %>').chosen({ placeholder_text_single: "-- pilih cabang --" });
        $('#<%= ddlPembicara.ClientID %>').chosen({ placeholder_text_single: "-- pilih pembicara --" });


    $("#<%=txtDateStart.ClientID%>").datepicker({
        numberOfMonths: 1,
        showButtonPanel: true,
        changeMonth: true,
        changeYear: true,
        dateFormat: 'dd/mm/yy',
        onSelect: function (selected) {
            $("#<%=txtDateEnd.ClientID%>").datepicker("option", "minDate", selected)
        }
    });


    $("#<%=txtDateEnd.ClientID%>").datepicker({
        numberOfMonths: 1,
        showButtonPanel: true,
        changeMonth: true,
        changeYear: true,
        dateFormat: 'dd/mm/yy'
    });
});

</script>
    <div class="page-full-width cf">
        <div class="content-module">
            <%--            <div class="content-module-heading cf">
                <h3 class="fl">
                    Laporan Pelatihan</h3>
                <span class="fr expand-collapse-text">Click to collapse</span> <span class="fr expand-collapse-text initial-expand">
                    Click to expand</span>
            </div>--%>
            <!-- end content-module-heading -->
            <div class="content-module-main">
                <table border="0">
                    <tr>
                        <td style="padding-right: 30px">
                            Pembicara
                        </td>
                        <td style="padding-right: 30px">
                            :
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlPembicara" runat="server" AutoPostBack="false" Width="400">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-right: 30px">
                            Cabang
                        </td>
                        <td style="padding-right: 30px">
                            :
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCabang" runat="server" Width="400">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-right: 30px">
                            Tgl Pelatihan
                        </td>
                        <td style="padding-right: 30px">
                            :
                        </td>
                        <td>
                            <asp:TextBox ID="txtDateStart" runat="server" Width="100"></asp:TextBox> &nbsp;&nbsp; s.d &nbsp;&nbsp; <asp:TextBox ID="txtDateEnd" runat="server" Width="100"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" colspan="3">
                            <asp:Button ID="btnProses" runat="server" CssClass="buttonPrint" Text="Proses" OnClick="btnProses_Click" />
                        </td>
                    </tr>
                </table>
                <asp:ScriptManager ID="scManager" runat="server" EnablePartialRendering="true">
                </asp:ScriptManager>
                <div style="overflow: auto; height: 500px">
                    <rsweb:ReportViewer ID="rsViewer" runat="server" Height="100%" Width="100%" SizeToReportContent="true">
                    </rsweb:ReportViewer>
                </div>
            </div>
            <!-- end content-module-main -->
        </div>
    </div>
</asp:Content>
